package com.kaifamiao.date1110;

public class MonkeyTest {

	public static void main(String[] args) {
		Monkey m = new Monkey( "孙悟空" , '男' , 1000 );
		System.out.println( m ); // m == null ? "null" : m.toString()
		System.out.println( m.hashCode() );
		
		Monkey k = new Monkey( "六耳猕猴" , '男' , 1000 );
		System.out.println( k ); // m == null ? "null" : m.toString()
		System.out.println( k.hashCode() );
	}

}
